package com.hongdee.scm.initStock.entity;

import com.hongdee.annotation.ExcelData;
import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by Administrator on 2017/9/22.
 */
@Entity
@Table(name = "T_Scm_enter_ex")
public class TScmEnterEx extends BaseEntity {

    @ExcelData("vin")
    @Column(name = "vin", length = 32, columnDefinition = "VARCHAR(32) COMMENT 'vin'")
    private String vin;

    @ExcelData("进货发票号")
    @Column(name = "invoice_num", length = 32, columnDefinition = "VARCHAR(32) COMMENT 'invoice_num'")
    private String invoiceNum;

    @ExcelData("数量")
    @Column(name = "count", length = 32, columnDefinition = "VARCHAR(32) COMMENT 'count'")
    private String count;

    @ExcelData("锁定 1是正入 null是暂估")
    @Column(name = "ifred", length = 1, columnDefinition = "VARCHAR(1) COMMENT 'ifred'")
    private String ifred;

    @ExcelData("进价")
    @Column(name = "price", length = 64, columnDefinition = "VARCHAR(64) COMMENT 'price'")
    private String price;

    @ExcelData("进货单位")
    @Column(name = "provide_company", length = 255, columnDefinition = "VARCHAR(255) COMMENT 'provide_company'")
    private String provideCompany;

    @Column(name = "company_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '公司ID'")
    private String companyId;

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getInvoiceNum() {
        return invoiceNum;
    }

    public void setInvoiceNum(String invoiceNum) {
        this.invoiceNum = invoiceNum;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public String getIfred() {
        return ifred;
    }

    public void setIfred(String ifred) {
        this.ifred = ifred;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getProvideCompany() {
        return provideCompany;
    }

    public void setProvideCompany(String provideCompany) {
        this.provideCompany = provideCompany;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }
}
